<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加学生</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <style>
        .span2 a{
            display: block;
            text-align: center;
            font-size: 17px;
            line-height: 50px;
        }
        a:hover{
            text-decoration: none;
            background: #999999;
        }
    </style>
</head>
<body>
<div class="container-fluid" style="margin-top: 50px;">
    <div class="row-fluid">
        <div class="span12">
            <div class="row-fluid">
                <div class="span4">
                </div>
                <div class="span4">
                    <h2 class="text-center">
                        欢迎进入管理页面
                    </h2>
                </div>
                <div class="span4">
                    <a th:href="@{/}" class="btn" style="float: right">退出</a>
                </div>
            </div>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span2" style="margin-top: 50px">
            <ul class="unstyled">
                <li>
                    <div class="md-end-block md-p md-focus">
                        <a th:href="@{/Cinformation}" class="md-plain">班级信息</a>
                    </div>
                    <div class="md-end-block md-p">
                        <a th:href="@{/CSinformation}" class="md-plain">学生信息</a>
                    </div>
                    <div class="md-end-block md-p">
                        <a th:href="@{/cainformation}" class="md-plain" style="background: #999999">添加学生</a>
                    </div>
                    <div class="md-end-block md-p">
                        <a th:href="@{/classaddclass}" class="md-plain">添加班级</a>
                    </div>
                    <div class="md-end-block md-p">
                        <a th:href="@{/classHomework}" class="md-plain">作业查重</a>
                    </div>
                </li>
            </ul>
        </div>
        <div class="span2" style="margin-top: 50px"></div>
            <form th:action="@{/adminaddstu}" method="post">
                <div class="span2"  style="margin-top: 70px">
                    <table class="table" >
                        <label>学号</label>
                        <input type="text" placeholder="系统默认给值" disabled/>
                        <label>姓名</label>
                        <input type="text" name="sname" required/>
                        <div class="control-group">
                            <label class="control-label" for="se">性别</label>
                            <div class="controls">
                                <select id="se" name="sex">
                                    <option value ="1" selected>男</option>
                                    <option value ="0">女</option>
                                </select>
                            </div>
                        </div>
                        <label>院系</label>
                        <input type="text" name="department" required/>
                    </table>
                </div>
                <div class="span2"  style="margin-top: 70px">
                    <table class="table" >
                        <div class="control-group">
                            <label class="control-label" for="se">班级编号</label>
                            <div class="controls">
                                <select id="se" name="classid">
                                    <option th:each="class : ${classs}" th:value ="${class.classId}" th:text="${class.administrativeClass}"></option>
                                </select>
                            </div>
                        </div>
                        <label>手机号</label>
                        <input type="text" name="phone" required/>
                        <label>身份证号码</label>
                        <input type="text" name="idnumber" required/>
                        <label>密码</label>
                        <input type="text" name="psw"/><br/><br/>
                        <input class="btn" type="submit" value="提交"/>
                    </table>
                </div>
            </form>
        <div class="span4" style="margin-top: 50px"></div>
    </div>
</div>
</body>
</html>